package com.ruoyi.project.ledger.mapper;

import java.util.List;
import com.ruoyi.project.ledger.domain.LedgerFirefightingFacilities;

/**
 * 消防设施Mapper接口
 * 
 * @author ruoyi
 * @date 2020-05-11
 */
public interface LedgerFirefightingFacilitiesMapper 
{
    /**
     * 查询消防设施
     * 
     * @param id 消防设施ID
     * @return 消防设施
     */
    public LedgerFirefightingFacilities selectLedgerFirefightingFacilitiesById(Long id);

    /**
     * 查询消防设施列表
     * 
     * @param ledgerFirefightingFacilities 消防设施
     * @return 消防设施集合
     */
    public List<LedgerFirefightingFacilities> selectLedgerFirefightingFacilitiesList(LedgerFirefightingFacilities ledgerFirefightingFacilities);

    /**
     * 新增消防设施
     * 
     * @param ledgerFirefightingFacilities 消防设施
     * @return 结果
     */
    public int insertLedgerFirefightingFacilities(LedgerFirefightingFacilities ledgerFirefightingFacilities);

    /**
     * 修改消防设施
     * 
     * @param ledgerFirefightingFacilities 消防设施
     * @return 结果
     */
    public int updateLedgerFirefightingFacilities(LedgerFirefightingFacilities ledgerFirefightingFacilities);

    /**
     * 删除消防设施
     * 
     * @param id 消防设施ID
     * @return 结果
     */
    public int deleteLedgerFirefightingFacilitiesById(Long id);

    /**
     * 批量删除消防设施
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteLedgerFirefightingFacilitiesByIds(Long[] ids);

    public LedgerFirefightingFacilities selectLedgerFirefightingFacilities(LedgerFirefightingFacilities ledgerFirefightingFacilities);
}
